package cn.edu.wynu.threads;

import java.util.zip.CheckedOutputStream;

public class ThreadLearn {
    public static void main(String[] args) throws InterruptedException {
        int count = 0;
        while (true) {
            System.out.println(count);
            count++;
            Thread.sleep(1000);
        }
    }
}
